package com.javabase.d01_base;

import java.util.Scanner;

public class V02_scanner {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        System.out.println("请输入年龄: ");
        int age = sc.nextInt();
        System.out.println("您的年龄为: " + age);

        System.out.println("请输入名字");
        String name = sc.next();
        System.out.println(name + "欢迎━(*｀∀´*)ノ亻!");
    }
}
